package com.aia.ilp.web;

import org.apache.log4j.Logger;

import com.aia.ilp.domain.Cust;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

public class CustRegDoAction extends ActionSupport implements ModelDriven<Cust> {
	/**
	 * Logger for this class
	 */
	private static final Logger logger = Logger.getLogger(CustRegDoAction.class);

	private Cust custToReg = new Cust();
	/***
	 * nouse
	 */
	public String execute() {
		if (logger.isDebugEnabled()) {
			logger.debug("execute() - start"); //$NON-NLS-1$
		}
		//mainService.prepareTopCusts(this);
		//mainService.prepareLatestCusts(this);

		if (logger.isDebugEnabled()) {
			logger.debug("execute() - end"); //$NON-NLS-1$
		}
		return SUCCESS;
	}
	public void validate(){
		
	}
	public Cust getModel() {
		return custToReg;
	}
	public void setCustToReg(Cust custToReg) {
		this.custToReg = custToReg;
	}
	public Cust getCustToReg() {
		return custToReg;
	}


}
